package cn.itsource.system.service;



import cn.itsource.system.domain.Menu;
import cn.itsource.system.query.MenuQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IMenuService {
    void add(Menu menu);
    void update(Menu menu);
    void delete(Long id);
    Menu getOne(Long id);
    List<Menu> getAll();

    void patchDelete(Long[] ids);

    PageInfo<Menu> pageQuery(MenuQuery query);

    List<Menu> getMenuTree();
}
